package test0102;

public class Order {
    String id;
    String name;
    double Money;

    public Order() {
    }

    public Order(String id, String name, double money) {
        this.id = id;
        this.name = name;
        Money = money;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getMoney() {
        return Money;
    }

    public void setMoney(double money) {
        Money = money;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", Money=" + Money +
                '}';

    }
}
